<?php
namespace app\api\validate;
use think\Validate;
class Report extends Validate
{
    protected $rule = [
        'Content'  =>  'require',
        'ReportTime'  =>  'require',
        'ReportType'  =>  'require',
    ];

    protected $message = [
        'ReportTime.require' =>  '日报日期不能为空',
        'ReportType.require' =>  '类型不能为空',
        'Content.require' =>  '内容不能为空',
    ];

    protected $scene = [
        'edit'  =>  ['Content'],
    ];

}
